from typing import Any

from aiogram import types
from aiogram_dialog import Dialog, DialogManager, Window
from aiogram_dialog.widgets.kbd import Back, Cancel, ScrollingGroup, Select
from aiogram_dialog.widgets.text import Format

from src.presentation.tg_bot.dialogs.getters.payments import payment_getter
from src.presentation.tg_bot.dialogs.getters.users import user_payments_getter
from src.presentation.tg_bot.dialogs.widgets import LocaleText
from src.presentation.tg_bot.states import UserPaymentsSG


async def display_payment_details(_, __, manager: DialogManager, payment_id: str):
    manager.dialog_data["payment_id"] = int(payment_id)

    await manager.next()
